/**
 * Huisou.com Inc.
 * Copyright (c) 2011-2012 All Rights Reserved.
 */

package com.chenzehe.zdmya.service;

import com.chenzehe.java.core.orm.Page;
import com.chenzehe.java.core.orm.PageRequest;
import com.chenzehe.zdmya.domain.Baoliao;

/**
 * @description
 * 
 * @author chenzehe
 * @email hljuczh@163.com
 * @create 2012-8-3 下午09:11:40
 */

public interface IBaoliaoService {
	int saveBaoliao(Baoliao baoliao);

	Page<Baoliao> queryBaoliaoByUser(PageRequest pageRequest, int userId);

	Page<Baoliao> queryBaoliaoByUserAndStatus(PageRequest pageRequest,
			int userId, int status);

	Long queryBaoliaoNumByUser(int userId);
}
